package cn.tedu.spring.auto;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestUserCache {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext c=new AnnotationConfigApplicationContext
        ("cn.tedu.spring.auto");
        UserCache uc=c.getBean(UserCache.class);
        System.out.println("uc="+uc);
    }
}
